import { postMethod, getMethod } from "../../../../utils/http";

export async function getList() {
    return await postMethod(`xyxy/wxapp/web/banner/list?location=创作者中心`, {});
}

export async function add(image) {
    return await postMethod(`xyxy/wxapp/web/banner/save?image=${image}&location=创作者中心`, {
    });
}

export async function queryItem(id) {
    return await postMethod(`xyxy/wxapp/web/banner/detail?id=${id}`, {});
}

export async function edit(image) {
    return await postMethod(`xyxy/wxapp/web/banner/edit?image=${image}&location=创作者中心`, {
       
    });
}

export async function del(params) {
    return await postMethod(`xyxy/wxapp/web/topCard/del`, {
        params,
    });
}

// 

